package com.bigzero.workflow.modules.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 用户dto
 * @author fanxinxiong
 * @since 2025-03-01
 */
@Data
public class UserDto {

    /**主键id*/
    @Schema(description = "主键id", required = true)
    private String id;

    /**部门id*/
    @Schema(description = "部门id", required = true)
    private String deptId;

    /**用户名*/
    @Schema(description = "用户名", required = true)
    private String username;

    /**账号*/
    @Schema(description = "账号", required = true)
    private String account;

    /**密码*/
    @Schema(description = "密码")
    private String password;

    /**邮箱*/
    @Schema(description = "邮箱", required = true)
    private String email;

    /**手机号*/
    @Schema(description = "手机号", required = true)
    private String mobile;

    /**角色id集合*/
    @Schema(description = "角色id集合", required = true)
    private List<String> roleIdList;
}
